package com.rainbow.gwt.accounting.server.pojo;

import java.util.Date;

/**
 * 
 * @author rainbow
 * @hibernate.class table="user"
 */
public class User {

	private Long id;
	private String username;
	private Date birthday;
	private String sex;
	private String cellphone;
	private String address;
	
	/**
	 * @hibernate.id generator-class="native" 
	 * @hibernate.column name="ID"
	 */
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * @hibernate.property column="name" type="java.lang.String" length="32" not-null="true"
	 */
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	/**
	 * @hibernate.property column="birthday" type="java.util.Date"
	 */
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	/**
	 * @hibernate.property column="sex" type="java.lang.String" length="6"
	 */
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	/**
	 * @hibernate.property column="cellphone" type="java.lang.String" length="20"
	 */
	public String getCellphone() {
		return cellphone;
	}
	public void setCellphone(String cellphone) {
		this.cellphone = cellphone;
	}
	/**
	 * @hibernate.property column="address" type="java.lang.String" length="32"
	 */
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	
	
}
